package com.itheima.service.role;

import com.itheima.domain.Role;

import java.util.List;

public interface RoleService {
    //查询所有角色信息
    List<Role> list(String pageNum, String pageSize);
    //新增数据
    void save(Role role);
    //根据Id删除
    boolean deleteByIds(String ids);
    //根据ID查询
    List<String>  findById(String id);

    void deletePermission(String roleId);

    void savePermission(String[] pids, String roleId);
}
